package com.study.service;

import com.github.pagehelper.PageInfo;
import com.study.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {

    int insertUser(User user);

    int deleteUser(Integer id);

    int modifyUser(User user);

    List<User> selectUsers();

    User selectUserById(@Param("userId") Integer uid);
}
